package routers

import (
	"xmshop-gin/controllers/other"

	"github.com/gin-gonic/gin"
)

func DefaultRoutersInit(r *gin.Engine) {
	defaultRoutes := r.Group("/test")
	{
		defaultRoutes.GET("/", other.DefaultController{}.Index)
		defaultRoutes.GET("/thumbnail1", other.DefaultController{}.Thumbnail1)
		defaultRoutes.GET("/thumbnail2", other.DefaultController{}.Thumbnail2)
		defaultRoutes.GET("/qrcode1", other.DefaultController{}.Qrcode1)
		defaultRoutes.GET("/qrcode2", other.DefaultController{}.Qrcode2)
	}
}
